//
//  loginViewController.m
//  pacc
//
//  Created by 测试 on 2018/5/22.
//  Copyright © 2018年 测试. All rights reserved.
//

#import "loginViewController.h"
#import "loginController.h"
#import "registerController.h"
#import "fuwuxieyiController.h"
#import "yinsicelueController.h"
@interface loginViewController ()
- (IBAction)loginClick:(id)sender;
- (IBAction)registerClick:(id)sender;
@property (weak, nonatomic) IBOutlet UIButton *registerBtn;

@end

@implementation loginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _registerBtn.layer.borderColor = baseBlueColor.CGColor;
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)fuwuxieyiClick:(id)sender {
    fuwuxieyiController * vc= [fuwuxieyiController new];
    
    [self presentViewController:vc animated:YES completion:^{
        
    }];
}
- (IBAction)yinsishengmingClick:(id)sender {
    yinsicelueController * vc= [yinsicelueController new];
    
    
    [self presentViewController:vc animated:YES completion:^{
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)loginClick:(id)sender {
    loginController * vc = [loginController new];
    [self presentViewController:vc animated:YES completion:nil];
}

- (IBAction)registerClick:(id)sender {
    registerController * vc = [registerController new];
    [self presentViewController:vc animated:vc completion:^{
        
    }];
}
-(void)viewWillAppear:(BOOL)animated{
    self.navigationController.navigationBar.hidden = YES;
}
@end
